package sparql;

public class Essai {

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
    	RequeteOntologie sparqlClient = new RequeteOntologie("localhost:3030/space");
    	
    
        String query = "ASK WHERE { ?s ?p ?o }";
        boolean serverIsUp = sparqlClient.ask(query);
        if (serverIsUp) {
            System.out.println("server is UP");
            TraiterOntologie.lemmatiserOntologie(sparqlClient);
            TraiterOntologie.getLabels(sparqlClient);


            
        } else {
            System.out.println("service is DOWN");
        }
    }
    
}

